
//
//  Define.h
//  BuyOfNoWane
//
//  Created by qianfeng02 on 15/7/3.
//  Copyright (c) 2015年 迷茫的尧尧. All rights reserved.
//

#ifndef BuyOfNoWane_Define_h
#define BuyOfNoWane_Define_h

#define kScreenSize [UIScreen mainScreen].bounds.size
#import "LZXHelper.h"
#import "MyControl.h"

#define kSelectedType @"home"
#define kDiscountType @"youhui"
#define kBuyoverseaType @"haitao"
#define kFoundType @"faxian"
#define kNewsType @"news"
#define kRgba(r,g,b,a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]
#define kCustomRed kRgba(202,26,65,1)
//我精选界面接口
#define kScrollViewUrl @"http://api.smzdm.com/v1/util/banner?s=5594c8c04965d716768&type=home&v=5.7&f=iphone"
#define kCellUrl @"http://api.smzdm.com/v1/home/articles?have_zhuanti=1&f=iphone&s=5594c8c04965d716768&imgmode=0&v=5.7&limit=%ld"
//有优惠界面接口
#define kDiscountUrl @"http://api.smzdm.com/v1/youhui/articles?f=iphone&s=5594c8c04965d716768&imgmode=0&v=5.7&limit=%ld"
//海外淘接口
#define kBuyOverseasUrl @"http://api.smzdm.com/v1/haitao/articles?f=iphone&s=5594c8c04965d716768&imgmode=0&v=5.7&limit=%ld"
//新发现接口
#define kFoundUrl @"http://api.smzdm.com/v1/faxian/articles?f=iphone&s=5594c8c04965d716768&imgmode=0&v=5.7&limit=%ld"
//新资讯接口
#define kNewsUrl @"http://api.smzdm.com/v1/news/articles?f=iphone&s=5594c8c04965d716768&imgmode=0&v=5.7&limit=%ld"
//详情
#define kDetailUrl @"http://api.smzdm.com/v1/%@/articles/%ld?s=5594c8c04965d716768&show_dingyue=1&filtervideo=1&imgmode=0&v=5.7&f=iphone"
#define kUrl @"http://%@.smzdm.com/p/%ld"
//搜索
#define kSearchUrl @"http://api.smzdm.com/v1/%@/articles?f=iphone&search=%@&s=559ce0a81e25c31258&imgmode=0&v=5.7&limit=20"
//参数  categoryType  keyword

#ifndef __UpLine__
//变参宏
#define NSLog(...) NSLog(__VA_ARGS__)
#else
#define NSLog(...)
#endif

#endif
